/*
 * @Author: dujianmin@qq:20130527
 * @Date: 2024-07-19 23:21:46
 * @Last Modified by: dujianmin
 * @Last Modified time: 2024-07-20 00:34:10
 */

#include <stdio.h>
#include "esp_system.h"
#include "nvs_flash.h"
#include "esp_event.h"


#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
#include "freertos/event_groups.h"

#include "esp_log.h"
#include <cJSON.h>

#include "du_websocket_client.h"
#include "du_bsp_spiffs.h"
#include "du_bsp_wifi_sta.h"

static const char *TAG = "robot_chat";

void app_main(void)
{

    ESP_ERROR_CHECK(nvs_flash_init());

    wifi_init_sta();
    bsp_spiffs_mount();
    websocket_app_start_stt();
    // websocket_app_start_chat();
    // websocket_app_start_tts();

 
}
